home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 038a / aplibs91.zip / PQ.BAT < prev    next >
DOS Batch File  |  1991-04-05  |  741b  |  32 lines

  1. @echo off
  2. :top
  3. q %1 %2 %3
  4. check keyboard
  5. if errorlevel 1 quit
  6. cls
  7. pbc %1
  8. if not errorlevel 1 goto run
  9. play O3 L32B L16G
  10. erfind %1
  11. quit
  12. :run
  13. if not exist c:\bin\%1.exe goto IsUnit
  14. %1
  15. if errorlevel 1 quit
  16. pause
  17. goto top
  18. :IsUnit
  19. tune 2
  20. exit
  21. quit
  22. REM
  23. REM        PQ.BAT -- FOR USE WITH POWER-BASIC, ERFIND.EXE AND QEDIT (q.exe)
  24. REM
  25. REM    This batch file uses a couple of handy commands. One is CHECK.COM
  26. REM    from PC Mag; you can download it from PCMag Net (from Compuserve type
  27. REM    'GO PCMAG'. The other is an empty batch file called QUIT.BAT. To create
  28. REM    it without using any disk space, type 'TYPE QUIT.BAT > QUIT.BAT' from
  29. REM    the DOS prompt.  The PLAY.COM beep is not essential, of course.
  30. REM
  31.  
  32.